package com.chuangke.flow.domain;

import java.util.List;
import java.util.Map;

public class FlowHandler {

	private String userId;
	private String businessKey;
	private String audit ;
	private String message ;
	private String rejectNodeId ;//2022-11-02新增，支持退回至指定节点
	private boolean submitRestrictTaskUser ;//2022-11-06提交时是否限制必须是制单人
	private List<String> appointNextApprovers ;
	
	private Map<String, Object> variables ;//2022-10-25新增，支持批量审批
	
	public FlowHandler() {
		submitRestrictTaskUser =true ;
	}
	
	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public String getBusinessKey() {
		return businessKey;
	}

	public void setBusinessKey(String businessKey) {
		this.businessKey = businessKey;
	}

	public String getAudit() {
		return audit;
	}

	public void setAudit(String audit) {
		this.audit = audit;
	}

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}

	public String getRejectNodeId() {
		return rejectNodeId;
	}

	public void setRejectNodeId(String rejectNodeId) {
		this.rejectNodeId = rejectNodeId;
	}

	public Map<String, Object> getVariables() {
		return variables;
	}

	public void setVariables(Map<String, Object> variables) {
		this.variables = variables;
	}

	public boolean isSubmitRestrictTaskUser() {
		return submitRestrictTaskUser;
	}

	public void setSubmitRestrictTaskUser(boolean submitRestrictTaskUser) {
		this.submitRestrictTaskUser = submitRestrictTaskUser;
	}

	public List<String> getAppointNextApprovers() {
		return appointNextApprovers;
	}

	public void setAppointNextApprovers(List<String> appointNextApprovers) {
		this.appointNextApprovers = appointNextApprovers;
	}

}
